package com.example.tool.erp.sdk.api.finance;

import com.example.tool.erp.sdk.Pager;
import com.example.tool.erp.sdk.WdtErpException;
import com.example.tool.erp.sdk.api.finance.dto.PurchaseSettleSearchRequest;
import com.example.tool.erp.sdk.api.finance.dto.PurchaseSettleSearchResponse;
import com.example.tool.erp.sdk.api.finance.dto.PurchaseSettleUploadRequest;
import com.example.tool.erp.sdk.api.finance.dto.PurchaseSettleUploadResponse;
import com.example.tool.erp.sdk.impl.Api;

import java.util.List;

public interface SettleAPI
{
	@Api(value = "finance.settle.Purchase.search", paged = true)
	PurchaseSettleSearchResponse searchPurchaseSettle(PurchaseSettleSearchRequest request, Pager pager) throws WdtErpException;

	@Api(value = "finance.settle.Purchase.upload")
	PurchaseSettleUploadResponse uploadPurchaseSettle(PurchaseSettleUploadRequest.SettleOrder settleOrder, List<PurchaseSettleUploadRequest.Detail> detailList) throws WdtErpException;
}
